find distance from root to given node in a binary tree

visit shbcf.ru